package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.Meinformation;
import com.jic.member.request.MeinformationRequest;
import com.jic.member.response.MeinformationResponse;

/**
* 个人消息表
* @author : 
* @email : 
* @since : 2020-08-10 03:47:46
* @version : v1.0.0
*/
public interface MeinformationService {

    long insert(Meinformation meinformation);

    long delete(Long id);

    long update(Meinformation meinformation);

    Meinformation queryByPrimaryKey(Long id);

    List<Meinformation> query(Meinformation meinformation);

    PageResult<Meinformation> queryPage(Meinformation meinformation, Page pageQuery);

    RestResult insertInformation(Meinformation memberInformation);

    RestResult queryMemberInformationInfo(MeinformationRequest form);

    RestResult<PageResult<MeinformationResponse>> getMemberInfoList(MeinformationRequest meinformationRequest);

    RestResult<String> deleteMemberInfo(MeinformationRequest meinformationRequest);

    RestResult<String> insertMemberInformation(MeinformationRequest meinformationRequest);

    RestResult<String> updateMemberInformation(MeinformationRequest meinformationRequest);
}